//
//  MyInfoUserIconCell.m
//  CenturyCity
//
//  Created by beisheng03 on 2017/11/28.
//  Copyright © 2017年 beisheng. All rights reserved.
//

#import "MyInfoUserIconCell.h"

@interface  MyInfoUserIconCell ()
@property (weak, nonatomic) IBOutlet UIImageView *myIconImageView;
@property (weak, nonatomic) IBOutlet UITextField *rightTextField;

@end

@implementation MyInfoUserIconCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
    self.myIconImageView.layer.cornerRadius = 35;
    
    self.myIconImageView.layer.masksToBounds = YES;
    
    self.rightTextField.font = MYFONT(15);

    // Initialization code
}

- (void)setModel:(RegisterInfoModel *)model{
    _model = model;
    if (_model.iconImage != nil) {
        self.myIconImageView.image = _model.iconImage;
    }else{
        
        self.myIconImageView.image = [UIImage defaulIconImage];
    }
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
